chore(deps): update all non-major dependencies #530
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
^1.21.0→^1.21.1^4.59.2→^4.59.3Release Notes
cloudflare/workers-sdk (@cloudflare/vite-plugin)
v1.21.1Compare Source
Patch Changes
#11951
77fdc18Thanks @jamesopstad! - Add validation for environment name collisions and improve error message for missing environments.Updated dependencies [
75386b1,8e4a0e5,133bf95,93d8d78,69ff962,22727c2,fa39a73,4ac7c82,69ff962,029531a,d58fbd1,202c59e,133bf95,25e2c60,69ff962]:cloudflare/workers-sdk (wrangler)
v4.59.3Compare Source
Patch Changes
#9396
75386b1Thanks @gnekich! - Fixwrangler loginwith customcallback-host/callback-portThe Cloudflare OAuth API always requires the
redirect_urito belocalhost:8976. However, sometimes the Wrangler OAuth server needed to listen on a different host/port, for example when running from inside a container. We were previously incorrectly setting theredirect_urito the configured callback host/port, but it needs to be up to the user to maplocalhost:8976to the Wrangler OAuth server in the container.Example:
You might run Wrangler inside a docker container like this:
docker run -p 8989:8976 <image>, which forwards port 8976 on your host to 8989 inside the container.Then inside the container, run
wrangler login --callback-host=0.0.0.0 --callback-port=8989The OAuth link still has a
redirect_uriset tolocalhost:8976. For examplehttps://dash.cloudflare.com/oauth2/auth?...&redirect_uri=http%3A%2F%2Flocalhost%3A8976%2Foauth%2Fcallback&...However the redirect to
localhost:8976is then forwarded to the Wrangler OAuth server inside your container, allowing the login to complete.#11925
8e4a0e5Thanks @dependabot! - chore: update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#11942
133bf95Thanks @penalosa! - chore: update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#11922
93d8d78Thanks @dario-piotrowicz! - Improve telemetry errors being sent to Sentry bywrangler initwhen it delegates to C3 by ensuring that they contain the output of the C3 execution.#11940
69ff962Thanks @penalosa! - Show helpful messages for file not found errors (ENOENT)When users encounter file not found errors, Wrangler now displays a helpful message with the missing file path and common causes, instead of reporting to Sentry.
#11904
22727c2Thanks @danielrs! - Fix false positive infinite loop detection for exact path redirectsFixed an issue where the redirect validation incorrectly flagged exact path redirects like
/ /index.html 200as infinite loops. This was particularly problematic whenhtml_handlingis set to "none", where such redirects are valid.The fix makes the validation more specific to only block wildcard patterns (like
/* /index.html) that would actually cause infinite loops, while allowing exact path matches that are valid in certain configurations.Fixes: #11824
#11946
fa39a73Thanks @MattieTK! - FixconfigFileNamereturning wrong filename for.jsoncconfig filesPreviously, users with a
wrangler.jsoncconfig file would see error messages and hints referring towrangler.jsoninstead ofwrangler.jsonc. This was because theconfigFormatfunction collapsed both.jsonand.jsoncfiles into a single"jsonc"value, losing the distinction between them.Now
configFormatreturns"json"for.jsonfiles and"jsonc"for.jsoncfiles, allowingconfigFileNameto return the correct filename for each format.#11968
4ac7c82Thanks @MattieTK! - fix: include version components in command event metricsAdds
wranglerMajorVersion,wranglerMinorVersion, andwranglerPatchVersionto command events (wrangler command started,wrangler command completed,wrangler command errored). These properties were previously only included in adhoc events.#11940
69ff962Thanks @penalosa! - Improve error message when creating duplicate KV namespaceWhen attempting to create a KV namespace with a title that already exists, Wrangler now provides a clear, user-friendly error message instead of the generic API error. The new message explains that the namespace already exists and suggests running
wrangler kv namespace listto see existing namespaces with their IDs, or choosing a different namespace name.#11962
029531aThanks @dario-piotrowicz! - Cache chosen account in memory to avoid repeated promptsWhen users have multiple accounts and no
node_modulesdirectory exists for file caching, Wrangler (run vianpxand equivalent commands) would prompt for account selection multiple times during a single command. Now the selected account is also stored in process memory, preventing duplicate prompts and potential issues from inconsistent account choices.#11964
d58fbd1Thanks @dario-piotrowicz! - Makenamethe positional argument forwrangler deleteinstead ofscriptThe
scriptargument was meaningless for the delete command since it deletes by worker name, not by entry point path. Thenameargument is now accepted as a positional argument, allowing users to runwrangler delete my-workerinstead ofwrangler delete --name my-worker. Thescriptargument is now hidden but still accepted for backwards compatibility.#11967
202c59eThanks @emily-shen! - chore: update undiciThe following dependency versions have been updated:
#11940
69ff962Thanks @penalosa! - Improve error handling for Vite config transformationsReplace assertions with proper error handling when transforming Vite configs. When Wrangler encounters a Vite config that uses a function or lacks a plugins array, it now provides clear, actionable error messages instead of crashing with assertion failures. The check function gracefully skips incompatible configs with debug logging.
Updated dependencies [
8e4a0e5,133bf95,202c59e,133bf95,25e2c60]:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.